// API接口地址管理类
export class ApiEndpoints {
  // 用户模块接口
  static readonly USER = {
    accountLogin: '/love-ddt/api/authorize/accountLogin',
    registerAccount: '/love-ddt/api/app/userRegister/registerAccount',
    logout: '/love-ddt/api/authorize/logout',
    getUserInfo: '/love-ddt/api/app/user/getUserInfo',
    updateUser: '/love-ddt/api/app/user/updateUser',
    pageUser: '/love-ddt/api/app/user/pageUser',
    userDetail: '/love-ddt/api/app/user/userDetail',
    updateUserLock: '/love-ddt/api/app/user/updateUserLock',
    changePassword: '/love-ddt/api/app/user/changePassword',
    cancelUser: '/love-ddt/api/app/user/cancelUser',
    updateUserVip: '/love-ddt/api/app/user/updateUserVip',

    pageFeedback: '/love-ddt/api/app/feedback/pageFeedback',
    updateFeedback: '/love-ddt/api/app/feedback/updateFeedback',
    delFeedback: '/love-ddt/api/app/feedback/delFeedback',
    feedbackDetail: '/love-ddt/api/app/feedback/feedbackDetail',
    pageDriver: '/love-ddt/api/app/driver/pageDriver',
    sendMsg: '/love-ddt/api/app/userMsg/sendMsg',
  };

  static readonly EXCHANGE = {
    pageExchangeCode: '/love-ddt/api/exchange/pageExchangeCode',
    generateCode: '/love-ddt/api/exchange/generateCode',
    generateCodeBatch: '/love-ddt/api/exchange/generateCodeBatch',
    vipRecordPage: '/love-ddt/api/exchange/vipRecordPage',
    exchangeVipForAdmin: '/love-ddt/api/exchange/exchangeVipForAdmin',
    memberList: '/love-ddt/api/app/member/memberList',
  };
  static readonly JOURNEY = {
    pageJourney: '/love-ddt/api/app/journey/pageJourney',
    queryJourneyDetailByList: '/love-ddt/api/app/journey/queryJourneyDetailByList',
    submitDeal: '/love-ddt/api/app/journey/submitDeal',
  };

  static readonly STAT = {
    getStatInfo: '/love-ddt/api/app/stat/getStatInfo',
  };

  static readonly OSS = {
    uploadForAdmin: '/love-ddt/api/oss/uploadForAdmin',
  };

  static readonly COURSE = {
    pageSecureVideo: '/ddt-course/api/app/peakSecureVideo/pageSecureVideo',
    delSecureVideo: '/ddt-course/api/app/peakSecureVideo/delSecureVideo',
    uploadVideoAndPicture: '/ddt-course/api/app/peakSecureVideo/uploadVideoAndPicture',
    updateSecureVideo: '/ddt-course/api/app/peakSecureVideo/updateSecureVideo',

    getCategoryList: '/ddt-course/api/app/peakCategory/getCategoryList',

    pageCoreCourse: '/ddt-course/api/coreCourse/pageCoreCourse',
    addCoreCourse: '/ddt-course/api/coreCourse/addCoreCourse',
    updateCoreCourse: '/ddt-course/api/coreCourse/updateCoreCourse',
    delCoreCourse: '/ddt-course/api/coreCourse/delCoreCourse',
  };

  static readonly COMMON = {
    getAllVersionList: '/love-ddt/api/app/version/getAllVersionList',
    updateVersion: '/love-ddt/api/app/version/updateVersion',
  };

  static readonly ACTIVITY = {
    pageActivity: '/love-ddt/api/activity/pageActivity',
    addActivity: '/love-ddt/api/activity/addActivity',
    updateActivity: '/love-ddt/api/activity/updateActivity',
    delActivity: '/love-ddt/api/activity/delActivity',
    pageRecord: '/love-ddt/api/activityRecord/pageRecord',
  };
}